VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Color Namespace / CurvesCommand Class / CurvesCommand Constructors / CurvesCommand Constructor(Byte[],Byte[],Byte[])
Syntax Exceptions Requirements SeeAlso
In This Topic
    CurvesCommand Constructor(Byte[],Byte[],Byte[])
    In This Topic
    Initializes a new instance of the CurvesCommand class using RGB map.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal redMap
    Red channel map.
    () As Byte, _
    ByVal greenMap
    Green channel map.
    () As Byte, _
    ByVal blueMap
    Blue channel map.
    () As Byte _
    )
    public CurvesCommand(
    byte[] redMap,
    byte[] greenMap,
    byte[] blueMap
    )
    public: CurvesCommand(
    byte[]* redMap,
    byte[]* greenMap,
    byte[]* blueMap
    )
    public:
    CurvesCommand(
    array<byte>^ redMap,
    array<byte>^ greenMap,
    array<byte>^ blueMap
    )

    Parameters

    redMap
    Red channel map.
    greenMap
    Green channel map.
    blueMap
    Blue channel map.
    Exceptions
    ExceptionDescription
    Thrown if color map is null.
    Thrown if color map does not have 256 elements.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also